package com.wwfish.cms.service.sysuser;

import com.google.gwt.user.client.rpc.RemoteService;
import com.nexustar.gwt.widgets.client.model.PaginationModelDto;
import com.wwfish.cms.model.sysuser.SysUserDto;

import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2010-8-21
 * Time: 20:39:02
 * To change this template use File | Settings | File Templates.
 */
public interface SysUserManager extends RemoteService {
    SysUserDto saveAndUpdate(SysUserDto dto);

    void delete(SysUserDto dto);

     PaginationModelDto<SysUserDto> getPageEntities(Integer begin, Integer count, Map<String, String> conditions);

    Boolean isExitLoginName(String loginName);

}
